cmake_minimum_required(VERSION 3.19)
project(E-FtpServer)

include_directories(../common)

aux_source_directory(../src SRC_LIST)
aux_source_directory(../src/cmd SRC_CMD_LIST)
aux_source_directory(../common COMMON_SRC_LIST)

add_executable(${PROJECT_NAME} ${SRC_LIST} ${SRC_CMD_LIST} ${COMMON_SRC_LIST})
target_link_libraries(${PROJECT_NAME} pthread event)
